export const fields = [
    {
        label: "输入框",
        el: "AInput",
        el_el_key: "AInput",
        type: "text",
        key: "",
    },
    {
        label: "文本框",
        el: "ATextarea",
        el_key: "ATextarea",
        key: "",
        attrs: {},
    },
    {
        label: "下拉框",
        el: "ASelect",
        el_key: "ASelect",
        key: "",
        attrs: {
            options: [{ label: "测试", value: "1" }],
        },
        type: "select",
    },
    {
        label: "单选框",
        el: "ARadioGroup",
        el_key: "ARadioGroup",
        key: "",
        attrs: {
            options: [
                { label: "Apple", value: "Apple" },
                { label: "Pear", value: "Pear" },
                { label: "Orange", value: "Orange" },
            ],
        },
    },
    {
        label: "日期选择框",
        el: "ADatePicker",
        el_key: "ADatePicker",
        key: "",
        attrs: {},
    },
    {
        label: "评分",
        el: "ARate",
        el_key: "ARate",
        key: "",
        attrs: {},
    },
    {
        label: "上传图片",
        el: "VUpload",
        el_key: "VUpload",
        key: "",
        attrs: {},
    },
    {
        label: "树形选择框",
        el: "VTreeSearch",
        el_key: "VTreeSearch",
        key: "",
        attrs: {},
    },
    {
        label: "富文本",
        el: "VWangeditor",
        el_key: "VWangeditor",
        key: "",
        attrs: {},
    },
    {
        label: "多选框",
        el: "VACheckboxGroup",
        el_key: "VACheckboxGroup",
        key: "",
        attrs: {
            options: [
                { label: "苹果", value: "1" },
                { label: "橙子", value: "2" },
                { label: "香蕉", value: "3" },
            ],
        },
    },
];
